package com.ayuku.commons;

import java.text.SimpleDateFormat;
import java.util.Locale;

/**
 * 
 * @author putu kusuma <putukn@gmail.com>
 *
 */
public class AYConst {
    public static final String APP_TITLE = "Ayuku Retail 0.6.4";
    public static final String TRX_FAIL = "Transaksi Gagal!";
    public static final String TRX_SUCCESS = "Transaksi sudah berhasil!";
    public static final String CONFIRM_DELETE = "Anda Yakin akan menghapus data ini?";
    public static final String FAIL_LOAD = "Gagal load data!";
    public static final String FAIL_VIEW = "Gagal view data, silakan pilih data yang akan di edit!";
    public static final String FAIL_EDIT = "Gagal edit data, silakan ulangi!";
    public static final String FAIL_ADD = "Gagal add data, silakan ulangi!";
    public static final String FAIL_DELETE = "Gagal delete data, silakan pilih data yang akan di hapus!";
    public static final int MODE_VIEW = 0;
    public static final int MODE_ADD = 1;
    public static final int MODE_EDIT = 2;
    public static final int MODE_DELETE = 3;
    public static final int MODE_LIST = 4;
    public static final int MSG_INFO = 0;
    public static final int MSG_WARN = 1;
    public static final int MSG_ERR = 2;
    public static final int MAX_ROWS = 200;
    

	public static final SimpleDateFormat TIMESTAMP_FORMAT = new SimpleDateFormat(
	"yyyy-MM-dd hh:mm:ss", Locale.US);    	
	
	public static final SimpleDateFormat FOR_TRX_NO_FORMAT = new SimpleDateFormat(
			"ddMMyy-hhmmss", Locale.US);    	
	
	public static final SimpleDateFormat TANGGAL_QUERY_DB = new SimpleDateFormat(
	"yyyy-MM-dd", Locale.US);  
	
	public static final SimpleDateFormat TANGGAL_LIST = new SimpleDateFormat(
	"dd-MM-yyyy", Locale.US);	
	
	public static final SimpleDateFormat TANGGAL_FULL_LIST = new SimpleDateFormat(
			"dd-MM-yyyy hh:mm:ss", Locale.US);
	
	public static final SimpleDateFormat TANGGAL_FORM = new SimpleDateFormat(
	"dd-MM-yyyy", Locale.US);	

	public static final SimpleDateFormat TANGGAL_FORM_TRX = new SimpleDateFormat(
			"dd-MM-yyyy hh:mm:ss", Locale.US);	

	
	public static final SimpleDateFormat TANGGAL_PERSONAL_MOVE = new SimpleDateFormat(
			"dd/MM/yyyy", Locale.US);	
	
	public static final SimpleDateFormat TANGGAL_KONTRAK = new SimpleDateFormat(
			"dd MMMM yyyy", Locale.US);	

	
	public static final SimpleDateFormat TANGGAL_EXCEL = new SimpleDateFormat(
			"dd/MM/yyyy", Locale.US);	
	
	public static final SimpleDateFormat TANGGAL_TO_SERVER = new SimpleDateFormat(
			"dd/MM/yyyy", Locale.US);	
			
	
	public static final SimpleDateFormat TANGGAL_FULL_FORM = new SimpleDateFormat(
	"dd-MMM-yyyy", Locale.US);	
	
	public static final SimpleDateFormat JAM_LIST = new SimpleDateFormat(
	"hh:mm", Locale.US);
	
	public static final SimpleDateFormat JAM_FORM = new SimpleDateFormat(
	"hh:mm", Locale.US);
	
	public static final SimpleDateFormat WORK_HOUR_FORMAT = new SimpleDateFormat("hh:mm:ss");
	public static final String CURRENCY_CODE = "Rp.";
}
